<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>

<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/select-ui.min.js"></script>
<script type="text/javascript" src="${ctx}/js/data/thirdMatch.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});
  
  $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
  
});


</script>


</head>


<body>

    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="seachform">
      

 <form:form action="${ctx}/data/findthirdLive" method="post"  modelAttribute="live" id="findthird" >
 

 <li><label>来源网站:</label>
<div class="cityleft">
    <select class="select3" id="webCode" name="webCode" onchange="findthirdData()">
    
     <option <c:if test= "${webCode eq 'HG'}">
                                                       selected="selected"
                                                 </c:if>
     value="HG" >皇冠</option>
    
    
    </select>
    </div>
</li>
 <li><label>游戏项:</label>
 <div class="cityleft">
 <select class="select3" id="gameCode" name="gameCode" onchange="findthirdData()">
    <c:forEach items= "${snatchGames}" var="snatchGame">
    <option <c:if test= "${snatchGame.gameCode eq gameCode}">
                                                       selected="selected"
                                                 </c:if>
     value="${snatchGame.gameCode}">${snatchGame.gameName}</option>
    </c:forEach>
    </select>
     </div>
 </li>
 
  
 <li><label>联赛:</label>
 <div class="cityleft">
 
 
 <select class="select1" id="leagueid" name=leagueid onchange="findthirdData()">
  <option> 
             请选择联赛
 </option>
    <c:forEach items= "${leagues}" var="league">
    <option <c:if test= "${league.leagueSelfID eq leagueid}">
                                                       selected="selected"
                                                 </c:if>
     value="${league.leagueSelfID}">${league.leagueName}</option>
    </c:forEach>
    </select>
     </div>
 </li>
 
 
 <li><label>赛事:</label>
 <div class="cityleft">
 <select class="select1" id="matchid"  name="matchid">
    <c:forEach items= "${matchs}" var="match">
    <option <c:if test= "${match.matchSelfID eq matchid}">
                                                       selected="selected"
                                                 </c:if>
     value="${match.matchSelfID}">${match.matchName}【${match.matchTypeText}]</option>
    </c:forEach>
    </select>
     </div>
 </li>
    
    
    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
    </form:form>
        </ul>
        
    
    </div>
    
    
    
    
    
     <div class="formbody">
    
     <form:form action="${ctx}/admin/visaadd" method="post" modelAttribute="visa" >
      <input type=hidden name="visaId"  value="${visa.visaId}"/>
       <input type=hidden name="clientId"  value="${visa.clientId}"/>
      
    <ul class="forminfo">
    
    <li><label>联赛名称</label><input  type="text" class="dfinput" value="${liveData.leagueName}" /></li>
     <li><label>赛事名称</label><input value="${liveData.matchName}"  type="text" class="dfinput"  /></li>
     <li><label>显示时间</label><input name="showTime" value="${liveData.showTime}" type="text" class="dfinput" value="" /></li>
     <li><label>赛事状态</label><input name="status" value="${liveData.status}" type="text" class="dfinput" value="" />
                   足球-1未开赛 0中场,1上半场,2下半场. 篮球 -1未开赛 1为第一节 2为第二节 3为第三节 4为第4节 5为加时    0中场  网球 -1未开赛 1为第一盘 2为第二盘 3为第三盘 4为第4盘  5第五盘    0中场        88完赛
     </li>
    <li><label>全场主队比分</label><input name="homeGoal" value="${liveData.homeGoal}" type="text" class="dfinput" value="" /></li>
   	<li><label>全场客队比分</label><input name="awayGoal" value="${liveData.awayGoal}" type="text" class="dfinput" value="" /></li>
   
   
   
   <li><label>主队当前局数</label><input name="hboutCoal" value="${liveData.hboutCoal}" type="text" class="dfinput" value="" /></li>
   	<li><label>客队当前局数</label><input name="aboutCoal" value="${liveData.aboutCoal}" type="text" class="dfinput" value="" /></li>
  <li><label>主队当前得分</label><input name="hscoreCoal" value="${liveData.hscoreCoal}" type="text" class="dfinput" value="" /></li>
   	<li><label>客队当前得分</label><input name="ascoreCoal" value="${liveData.ascoreCoal}" type="text" class="dfinput" value="" /></li>
  
   
   
   
   
   
   <li>---------------------------------------详细信息-----------------------------------------------------</li>
   
   	<c:if test="${gameCode eq 'football'}">
   	 <li><label>半场主队进球</label><input name="hhtGoal" value="${liveData.hhtGoal}" type="text" class="dfinput" value="" /></li>
   	<li><label>半场客队进球</label><input name="hatGoal" value="${liveData.hatGoal}" type="text" class="dfinput" value="" /></li>
   
	 <li><label>主队红牌</label><input name="homeYc" value="${liveData.homeYc}" type="text" class="dfinput" value="" /></li>
   	<li><label>客队队红牌</label><input name="awayYc" value="${liveData.awayYc}" type="text" class="dfinput" value="" /></li>
   
	</c:if>
	
	<c:if test="${gameCode eq 'basketball'}">
	<li><label>第一节主队进球</label><input name="onehGoal" value="${liveData.onehGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第二节主队进球</label><input name="twohGoal" value="${liveData.twohGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第三节主队进球</label><input name="threehGoal" value="${liveData.threehGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第四节主队进球</label><input name="fourhGoal" value="${liveData.fourhGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>上半场主队进球</label><input name="hhtGoal" value="${liveData.hhtGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>下半场主队进球</label><input name="shrhGoal" value="${liveData.shrhGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>加时赛主队进球</label><input name="ethGoal" value="${liveData.ethGoal}" type="text" class="dfinput" value="" /></li>
	 
	 <li><label>第一节客队进球</label><input name="oneaGoal" value="${liveData.oneaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第二节客队进球</label><input name="twoaGoal" value="${liveData.twoaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第三节客队进球</label><input name="threeaGoal" value="${liveData.threeaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第四节客队进球</label><input name="fouraGoal" value="${liveData.fouraGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>上半场客队进球</label><input name="hatGoal" value="${liveData.hatGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>下半场客队进球</label><input name="shraGoal" value="${liveData.shraGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>加时赛客队进球</label><input name="etaGoal" value="${liveData.etaGoal}" type="text" class="dfinput" value="" /></li>
	
	</c:if>
	
	<c:if test="${gameCode eq 'tennis'}">
	<li><label>首盘主队进球</label><input name="onehGoal" value="${liveData.onehGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>次盘主队进球</label><input name="twohGoal" value="${liveData.twohGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第三盘主队进球</label><input name="threehGoal" value="${liveData.threehGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第四节主队进球</label><input name="fourhGoal" value="${liveData.fourhGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第五盘主队进球</label><input name="hhtGoal" value="${liveData.fivehGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>局数获胜者主队进球</label><input name="shrhGoal" value="${liveData.shrhGoal}" type="text" class="dfinput" value="" /></li>
	

	 
	 
	 
	 <li><label>首盘客队进球</label><input name="onehGoal" value="${liveData.oneaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>次盘客队进球</label><input name="twohGoal" value="${liveData.twoaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第三盘客队进球</label><input name="threehGoal" value="${liveData.threeaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第四节客队进球</label><input name="fourhGoal" value="${liveData.fouraGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>第五盘客队进球</label><input name="hhtGoal" value="${liveData.fiveaGoal}" type="text" class="dfinput" value="" /></li>
	 <li><label>局数获胜者客队进球</label><input name="shrhGoal" value="${liveData.shraGoal}" type="text" class="dfinput" value="" /></li>
	
	</c:if>
   
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="馬上保存"/></li>
    </ul>
    </form:form>
    </div> 
    
       
	</div> 
    
    
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="../images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
   
</body>

</html>
